home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / UNSPLIT / text0607.txt < prev    next >
Encoding:
Text File  |  1997-02-06  |  2.0 KB  |  56 lines

  1.  
  2. > Oh dear.. replying to my own posts... but here it goes anyway:
  3.  
  4. :)
  5.  
  6. > I was thinking about this over the weekend, and there are one or two flaws
  7. > with the idea... its not quite as simple as I first thought! (as if
  8. > anything ever is!)
  9.  
  10. I was thinking the same thing...
  11.  
  12. > Problem 1:
  13.  
  14. > If the point 10 meters away lies behind a wall, it will be in a different
  15. > room, which could be higher or lower than the current room. This would
  16. > screw things up a little :) So you'd have to bring the sample point closer
  17. > to the player if a wall is in the way...
  18.  
  19. Yep...
  20.  
  21. > Problem 2:
  22.  
  23. > If you only sample 1 point, then the view could jump up and down horribly.
  24. > Imagine turning in a room, and scanning past a staircase. The view would
  25. > jump up when going past the staircase and back down again afterwards.
  26. > Urgh! Also, things such as pedestals would cause a problem - your view
  27. > would jump up when you move towards it... Double Urgh!
  28.  
  29. > The best way around this is to sample a whole bunch of points in front of
  30. > the player, and average the results. I guess it won't make a huge CPU
  31. > burden as it only has to be done once per frame....
  32.  
  33. Well, that would work, but it might not produce the desired results. For instance,
  34. if you were standing on a pillar, while trying to shoot a monster on another
  35. pillar, this system would have you looking at the ground all the time whether
  36. you liked it or not!
  37.  
  38. > Let me know what you think....
  39.  
  40. This is good for a landscape without 'holes' or tall buildings with smallish
  41. gaps between them, but Doom can do this so it probably won't work.
  42.  
  43. If we want automatic look up/down on stairs, I think it would be easiest
  44. to just specify these zones on the map. This is how Quake manages it as far
  45. as I can see...
  46.  
  47. To be honest, even Quake gets it wrong sometimes when left to it's own devices.
  48. You can be standing on a downward-angled ramp while trying to shoot something
  49. high up on a ledge, but the program wants to make you look down in the direction
  50. of the slope instead.
  51.  
  52. Doug.
  53.  
  54.  
  55.  
  56.